package com.nexttwist.common;


public class BaseException extends Exception {
		
		/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
		private String statusCode;
		private String message;
		//Constructor
		public BaseException(Throwable ex, String statusCode, String message){
			this.statusCode = statusCode;
			this.message = message;
			this.initCause(ex);
		}
		
		public String getStatusCode(){
			return this.statusCode;
		}
		
		public String getMessage(){
			return this.message;
		}
		
	}